<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../layui/css/layui.css" />
	</head>
	<body>
		<!-- 模糊查询 -->
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<!-- <div class="layui-inline">
					<label class="layui-form-label">老师</label>
					<div class="layui-input-inline">
						<input type="text" name="tnames" id="tnames" placeholder="请输入老师" class="layui-input">
					</div>
				</div> -->
				<div class="layui-inline">
					<label class="layui-form-label">班级</label>
					<div class="layui-input-inline">
						<input type="text" name="cnames" id="cnames" placeholder="请输入班级" class="layui-input">
					</div>
				</div>
				<!-- <div class="layui-inline">
					<label class="layui-form-label">课程</label>
					<div class="layui-input-inline">
						<input type="text" name="conames" id="conames" placeholder="请输入课程" class="layui-input">
					</div>
				</div> -->
				<div class="layui-inline">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即查询</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<table class="layui-hide" id="test" lay-filter="test" lay-filter="from"></table>
		<!-- from表单开始 -->
		<form class="layui-form" action="" id="from" style="display: none;" lay-filter="from">
			<div class="layui-form-item" style="display: none;">
				<label class="layui-form-label">编号</label>
				<div class="layui-input-block">
					<input type="text" name="cid" id="cid" lay-verify="title" placeholder="请输入编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">课程名称</label>
				<div class="layui-input-block">
					<input type="text" name="cname" id="cname" lay-verify="title" placeholder="请输入课程名称"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">班级人数</label>
				<div class="layui-input-block">
					<input type="text" name="num" id="num" lay-verify="title" placeholder="请输入班级人数" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">系别</label>
				<div class="layui-input-block">
					<input type="text" name="deptid" id="deptid" lay-verify="title" placeholder="请输入系别"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">创建时间</label>
				<div class="layui-input-block" style="width: 630px;">
					<input type="text" name="createtime" id="createtime" lay-verify="title" placeholder="请输入开始时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">毕业时间</label>
				<div class="layui-input-block" style="width: 630px;">
					<input type="text" name="overtime" id="overtime" lay-verify="title" placeholder="请输入开始时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">老师编号</label>
				<div class="layui-input-block">
					<input type="text" name="tid" id="tid" lay-verify="title" placeholder="请输入老师编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo2">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<!-- from表单结束 -->
		<!-- 查看 -->
		<form class="layui-form" action="" id="demo" style="display: none;" lay-filter="demo">
			<div class="layui-form-item">
				<label class="layui-form-label">班级名称</label>
				<div class="layui-input-block">
					<input type="text" name="cname" lay-verify="cname" placeholder="请输入标题" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">班级人数</label>
				<div class="layui-input-block">
					<input type="text" name="num" id="num" lay-verify="title" placeholder="请输入老师" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">所属系别</label>
				<div class="layui-input-block">
					<input type="text" name="deptid" id="deptid" lay-verify="title" placeholder="请输入老师"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">创建时间</label>
				<div class="layui-input-block">
					<input type="text" name="createtime" id="createtime" lay-verify="title" placeholder="请输入创建时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">毕业时间</label>
				<div class="layui-input-block">
					<input type="text" name="overtime" id="overtime" lay-verify="title" placeholder="请输入创建时间"
						class="layui-input">
				</div>
			</div>
		</form>
	</body>
	<script type="text/html" id="toolbarDemo">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="getCheckData">增加数据</button>
			<!-- <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button>
				<button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button> -->
		</div>
	</script>
	<script type="text/html" id="barDemos">
		<a class="layui-btn layui-btn-xs layui-btn-radius " lay-event="select">查看班级</a>
	</script>
	<script type="text/html" id="barDemo">
		<a class="layui-btn layui-btn-xs layui-btn-radius " lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger layui-btn-radius" lay-event="del">删除</a>
	</script>

	<script src="../../js/jquery-1.8.3.min.js" charset="utf-8"></script>
	<script src="../../layui/layui.js" charset="utf-8"></script>
	<script src="ClassinfoTeacher.js" charset="utf-8"></script>
</html>
